package com.htl.exampro.question.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.htl.exampro.base.model.PageResult;
import com.htl.exampro.question.pojo.domain.AnswerDO;
import com.htl.exampro.question.pojo.query.AnswerPageParam;
import com.htl.exampro.question.pojo.vo.AnswerDetailVO;
import com.htl.exampro.question.pojo.vo.AnswerVO;

import java.util.List;


/**
 * <p>
 * 答题表 服务类
 * </p>
 *
 * @author hehehe
 * @since 2025-05-25
 */
public interface AnswerService extends IService<AnswerDO> {

    AnswerVO queryAnswerById(String historyId);

    PageResult<AnswerVO> queryAnswerPage(AnswerPageParam pageParam);

    int saveAnswer(AnswerVO AnswerVO);

    void saveAllAnswer(List<AnswerVO> answerVOS);

    List<AnswerDetailVO> queryAnswerDetail(AnswerPageParam pageParam);
}
